﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WebJudicialAuction.admin.bases
{
    /// <summary>
    /// AJAX统一返回结果
    /// </summary>
    public class AjaxResult
    {
        public AjaxResult()
        {
            this.flag = AjaxResultFlag.Failed;
            this.msg = AjaxMessage.NotFoundFunction;
        }

        /// <summary>
        /// 结果标识
        /// </summary>
        public AjaxResultFlag flag { get; set; }

        /// <summary>
        /// 返回数据
        /// </summary>
        public object data { get; set; }

        /// <summary>
        /// 后台返回提示信息
        /// </summary>
        public string msg { get; set; }
    }
}